


/*public class Test {
    public static void main(String[] args) {
        String name = "hello";
        System.out.println(name);

        String name1 = new String("world");
        System.out.println(name1);

        char[] ch = {'a','b','c','d'};
        String name2 = new String(ch);
        System.out.println(name2);

    }
}*/



/*public class Test {
    public static void main(String[] args) {
        String str4 = "";      //指向的对象中没有任何数据
        System.out.println(str4.isEmpty());    //如果里面没有数据就返回true，否则返回false
        String str5 = null;       //代表不指向任何对象
        System.out.println(str5.isEmpty());    //空指针异常
    }
}*/




/*public class Test{
    public static void main(String[] args) {
        String str1 = new String("hello");
        String str2 = new String("hello");
        System.out.println(str1 == str2);
        System.out.println(str1.equals(str2));    //String 里面自己重写了equals方法
        System.out.println("=========");
        String str3 = "abc";
        String str4 = "abc";
        System.out.println(str3 == str4);

        System.out.println("====");
        String str5 = "abcd";
        String str6 = "abCd";

        System.out.println(str5.compareTo(str6));
        System.out.println(str5.compareToIgnoreCase(str6));
    }
}*/

/*class Student {
    String name;
    int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
}

public class Test {
    public static void main(String[] args) {
        // 数字转字符串
        String s1 = String.valueOf(1234);
        String s2 = String.valueOf(12.34);
        String s3 = String.valueOf(true);
        String s4 = String.valueOf(new Student("Hanmeimei", 18));
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
        System.out.println(s4);
        System.out.println("=================================");
        // 字符串转数字
        // 注意：Integer、Double等是Java中的包装类型，这个后面会讲到
        int data1 = Integer.parseInt("1234");
        int data2 = Integer.valueOf("1234");
        double data3 = Double.parseDouble("12.34");
        System.out.println(data1);
        System.out.println(data2);
        System.out.println(data3);

    }
}*/




/*public class Test {
    public static void main(String[] args) {
        String s1 = "hello";
        String s2 = "HELLO";
        // 小写转大写
        System.out.println(s1.toUpperCase());
        // 大写转小写
        System.out.println(s2.toLowerCase());
    }
}*/

/*public class Test {
    public static void main(String[] args) {
        String str = "   hell  oo  p   0   pppp";
        System.out.println(str.trim());
        System.out.println(str);    //是产生一个新的字符串，并没有在原字符串的基础上，进行修改
    }
}*/


import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        String[]str1 = str.split(" ");

    }
}
